const ActionType = require('./actionType');

export const fetchBegin = (url) =>({
    type: ActionType.FETCH_BEGIN,
    url
});

export const fetchSuccess = (url) =>({
    type: ActionType.FETCH_SUCCESS,
    url
});

export const fetchFail = (url) =>({
    type: ActionType.FETCH_FAIL,
    url
});

export const getUserInfo = (data)=> ({
    type: ActionType.UserInfo,
    data
})

export const getDriveCardInfo = (data)=> ({
    type: ActionType.DriveCardInfo,
    data
})

